package com.hiltony.web.mapper;

import com.hiltony.web.model.Contacter;
import com.hiltony.web.model.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by YX on 2016/10/23.
 *
 */
public interface ContacterMapper {

    Contacter getContacterById(Contacter member);

    List<Contacter> getMemberContacterList(Contacter member);

    int addMemberContacter(Contacter member);

    int addMemberContacterList(@Param("info") List<Contacter> members);

    int updateMember(Contacter member);

    int updateMemberList(@Param("info") List<Contacter> members);
}
